TAB
Section: User Commands (1)
Updated: LOCAL
Index
Return to Main Contents
NAME
tab - indent a text file's left margin
SYNOPSIS
tab [-o #_of_spaces] [filename]
DESCRIPTION
Tab
reads text from the named file (standard input if no filename is given)
and writes to standard output. The default indentation is one
tab position. The
-o
option allows the indentation to be specified as a number of spaces.
Some examples of usage:
tab infile (indents one tab position)
tab -o 3 infile (indents 3 spaces)
tab < infile (reads standard input, indents one tab)
tab -o 3 < infile (reads standard input, indents 3 spaces)
To send the indented output directly to the system printer use:
tab file | lpr (Berkeley Unix)
tab file | lp (AT&T SYSV Unix)
SEE ALSO
cat(1), lpr(1,BSD), lp(1,SYSV)
AUTHOR
Perry A. D. Wood August 14, 1989
Department of Electrical Engineering
University of Virginia
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 23:11:32 GMT, September 29, 2022